package com.alks.function.data.request.produce;

import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.alks.function.data.dto.produce.DispatchTempDto;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author MS
 * @since 2024/7/11下午6:03
 */
@Data
public class SuppDispatchRequest {
    @ApiModelProperty(value = "表单数据")
    private List<DispatchTempDto> temps;

    @ApiModelProperty(value = "员工名称")
    private String name;

    @ApiModelProperty(value = "员工ID")
    private String workerId;

    @ApiModelProperty(value = "员工识别码")
    private String workerIdNo;

    @ApiModelProperty(value = "补单号")
    private String slipNo;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "派工日期")
    private LocalDateTime dispatchDate;
}
